#include"mystdio.h"
#include<string.h>

int main(){
    MyFile* mfp = MyFopen("test.txt","w");
    if(mfp == NULL){
        perror("open");
        return 1;
    }
    const char* buffer = "hello world!!!";
    MyFwrite(mfp,buffer,strlen(buffer));
    MyFFlush(mfp);
    //MyFclose(mfp);
    return 0;
}
